package com.example.operation.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.operation.dto.DispatchDto;
import com.example.operation.vo.DispatchVo;

/**
 * @ClassName: DispatchService
 * @Description:
 * @Author
 * @Date 2021/11/24
 * @Version 1.0
 */

public interface DispatchService {

    void insert(DispatchDto dispatchDto);

    void update(DispatchDto dispatchDto);

    Integer delectById(Integer id);

    Page<DispatchVo> page(Integer pageCurrent, Integer pageSize, Integer pageNumber, String name);
}
